package br.pucrio.inf.tamdera.utils;

import java.io.FileOutputStream;
import java.io.IOException;

public class FileUtils 
{
	public static void generateFile( String filePath,
			StringBuffer buffetText ) throws IOException {
		String strFile = buffetText.toString();
		
		byte[] data = strFile.getBytes();
		FileOutputStream out = new FileOutputStream( filePath );
		out.write(data);
		
	}

}
